#include "thread_task_parse.hpp"
#include "events_cb.hpp"

#include <event2/buffer.h>
#include <event2/bufferevent.h>
thread_task_parse::thread_task_parse(/* args */)
{
}

thread_task_parse::~thread_task_parse()
{
}
void thread_task_parse::set_event_callback(struct bufferevent *buffer)
{
    bufferevent_setcb(buffer,events_cb::read_cb,0,events_cb::event_cb,this);
    bufferevent_enable(buffer,EV_READ|EV_WRITE);
}
void thread_task_parse::recv_cmd(std::string msg)
{
    
}